<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 2017/10/25
 * Time: 11:54
 */
namespace app\modules\admin\models;

use yii\db\ActiveRecord;

class  FormFields extends  ActiveRecord
{
    public $USER_FORM_INFO_FLAG_MOBILE;
    public $USER_FORM_INFO_FLAG_SEX;
    public $USER_FORM_INFO_FLAG_NAME;
    public $USER_FORM_INFO_FLAG_BIRTHDAY;
    public $USER_FORM_INFO_FLAG_IDCARD;
    public $USER_FORM_INFO_FLAG_EMAIL;
    public $USER_FORM_INFO_FLAG_LOCATION;
    public $USER_FORM_INFO_FLAG_INDUSTRY;
    public $USER_FORM_INFO_FLAG_INCOME;
    public $USER_FORM_INFO_FLAG_HABIT;
    public static function tableName()
    {
        return 'wx_form_fields';
    }

    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'required_form	' => '必填信息',
            'optional_form' => '选填信息',
        ];
    }
}